package com.poorstu.dao;

import java.util.List;

import com.poorstu.model.FlowLineMod;
import com.poorstu.model.FlowMod;

public interface FlowDao {
	/**
	 *  查找所有的流
	 * @return list
	 */
	public List<FlowMod> selectFlowAll();
	
	public List<FlowLineMod> selectFlowLineByFlowId(int flowId);
	
	public FlowMod selcetFlowById(int flowId);
	
	//添加
	public void saveFlowLine(FlowLineMod flowLine);
	//跟新
	public void updateFlowLine(FlowLineMod flowLine);
	
	
	public  FlowLineMod selectFlowLineById(int flowLineId);
	
	public void deleteFlowLine(FlowLineMod flowLine);
	
	public void updateFlow(FlowMod flowMod);
	
	
	public void savaFlow(FlowMod flowMod);
	
	public  void deleteFlow(FlowMod flowMod);
	
	public int selectOder(int flowId);
}
